@import 'common';

@media screen and (min-width:750px) {
    html {
        font-size: 75px !important;
    }
}

body {
    min-width: 320px;
    width: 10rem;
    margin: 0 auto;
    line-height: 1.5;
    font-family: Arial, Helvetica;
    background: #F2F2F2;
}

// 页面元素rem计算公式： 页面元素的px / html 字体大小 50
// search-content
@ba: 75;

.search {
    display: flex;
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 10rem;
    height: 88rem / @ba;
    background-color: #FFC001;

    .classify {
        width: 44rem / @ba;
        margin: 11rem / @ba 25rem / @ba 7rem / @ba 24rem / @ba;
        height: 70rem / @ba;
        background: url(../images/classify.png) no-repeat;
        // 背景缩放
        background-size: 44rem / @ba 70rem / @ba;
    }

    .s {
        flex: 1;

        input {
            outline: none;
            width: 100%;
            border: 0;
            height: 66rem / @ba;
            border-radius: 33rem / @ba;
            background-color: #FFF2CC;
            margin-top: 12rem / @ba;
            font-size: 25rem / @ba;
            padding-left: 55rem / @ba;
            color: #757575;
        }
    }

    .right {
        width: 75rem / @ba;
        height: 70rem / @ba;
        line-height: 70rem / @ba;
        margin: 10rem / @ba;
        font-size: 25rem / @ba;
        text-align: center;
        color: #fff;

    }
}

.banner {
    width: 750rem/@ba;

    img {
        width: 100%;
    }
}

.ad {
    display: flex;
    width: 750rem/@ba;

    a {
        flex: 1;

        img {
            width: 100%;
        }
    }
}

.nav {
    a {
        float: left;
        width: 150rem/@ba;
        height: 140rem/@ba;
        font-size: 25rem/@ba;
        text-align: center;

        img {
            width: 82rem/@ba;
            margin: 10rem/@ba;
        }

        p {
            color: #333;
        }
    }
}